Close save-after-restore race.
authorjohn.levon@sun.com <john.levon@sun.com>
Wed, 24 Jan 2007 03:06:31 +0000 (19:06 -0800)
committerjohn.levon@sun.com <john.levon@sun.com>
Wed, 24 Jan 2007 03:06:31 +0000 (19:06 -0800)
commit95d3856e97242a79e735138e71d6c8ab54b2beef
tree067e65d191cd6cced6fb891680702d8496e601ea
parent1fd75e7150f0d132a4932dbd94777fff76afb8f0
Close save-after-restore race.

Make xc_linux_save() wait for the frame_list_list MFN to be updated by the
domain before trying to use it. Make Linux set the top-level MFN /after/
updating the other MFN lists.

Signed-off-by: John Levon <john.levon@sun.com>
linux-2.6-xen-sparse/arch/i386/kernel/setup-xen.c
linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c
tools/libxc/xc_linux_save.c